home *** CD-ROM | disk | FTP | other *** search
- ┌─────────────────────────────────────────────────────────────────────────┐
- │ NICE & FAST MOUSE for mode 12h (640 x 480 in 16 colours) │▒
- │ routines in Turbo Assembler for a real mode │▒
- │ by Holy Drake / The Guardians │▒
- │ version 1.01 │▒
- │ original idea of setting a new mouse handler is taken from XLIB.MOUSE │▒
- │ Turbo Pascal unit by Themie Gouthas & Christian Harms │▒
- └─────────────────────────────────────────────────────────────────────────┘▒
- ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
-
-
-
- Hello Asm Coders ! Here it is - a mouse library. You may ask "Again?
- Nobody wants it!". You are wrong, because this unit is a special one!
- It's very fast: cursor doesn't flicks on any PC 286 on slow video
- cards (you know what is 12h mode, and how slow it is). So, if you are
- a disk mag coder and you like nice high resolution you should use my
- routines! The routines work also in other 16 colours modes. If you own
- the old version of this library you've got to delete it. Old version
- had a one stupid bug...
-
- This library is a freeware / public domain one. You can (should)
- copy and distribute it without any special payment!
-
- Here is the list of the procedures:
-
- HideMouse - Make mouse cursor invisible
- ShowMouse - Make him visible
- SetMouseSpeed - Set the speed of the mouse cursor
- - Put horizontal (X) speed in CX
- and vertical (Y) speed in DX
- MyMouseInit - Initialization of the handler !
- - That's a first procedure you should execute !
- SetMouseWindow - Set the size of the mouse window
- - Put parameters on the stack (x1,y1,x2,y2)
- MyMouseDestroy - Restore old mouse handler (kill new mouse handler)
- SetMousePos - Set the cursor position on the screen
- - Put X position in CX and Y position in DX
- HideUntilMoved - Hide the mouse cursor till somebody move a mouse
- DefineCursor - Set an address where the shape of the cursor is stored
- - Remember to hide a cursor first
- IsThereAnyMouse - Return 0FFh in AL if mouse driver installed
-
-
- HEY! THIS UNIT IS DEDICATED TO ALL LAZY CODERS WHO HATE GRAPHIC MODE 12h.
- I LOVE THIS MODE!
-
-
- ┌────┐
- ┌┘████└┐ ┌──┐ ┌──────────────────┐ ┌──────┐
- ┌┘██ ██└──┐┌──┐┌┘██└┐┌───────┘█████ ████ ████└───┐ ┌─┘ █████└┐
- │██ ██││██└┘████└┘██████ ██ ██ ██ ██ ██ ██└┐┌┘█ ██ ██│
- │██ ██││██ ██ ██ ██ ██ ██ ██ ██ ██████ ███└┘██ ███ █│
- │██ ███ ██└┘██ ██████ █████ ██ ██ ██ ██┌┐██ ████ ██ ████ ─┤
- └┐██ ██ ██ ██ ██┌┐██ ██ ██ █████┌─┐ ██ ██││██ ██ ████ █ ███│
- └┐███ █┌┐████┌┐█┌┘└┐█ ██┌┐██┌─────┘ │ ██ ┌──┘└──┐██┌┐███ ██smn██│
- └─────┘└────┘└─┘ └─┐██┌┘└┐█│ │████│ │██│└┐██ █████┌┘
- └──┘ └─┘ └────┘ │█┌┘ │██ ┌─────┘
- └─┘ └───┘
-
- All suggestions send to: hdrake@aurora.put.poznan.pl
-